# !/usr/bin/env python
# coding=utf-8
# @Time    : 2018/1/12 10:02
# @Author  : 6imensiva
# @Site    : https://gitee.com/dimensiva/wx_server.git
# @File    : test.py
# @Software: PyCharm
# @Version: 3.5.4
from flask import request
from configs import current_config
from . import api
import time
from utils import my_request
import threading


@api.route(current_config.API_PREFIX + '/test/test_async', methods=['GET'])
def test_async():
	print(111)
	print(threading.currentThread())
	time.sleep(1000)
	# my_request.my_request5('GET', 'http://127.0.0.1:3006/test/test_async', timeout=60)
	print(222)
	return 'asd'